{$layout}
{$template "/echarts"}

{$template "stat_menu"}
{$template "/left_menu_with_menu"}
<div class="right-box with-menu">
    {$ if eq .statIsOn false}
	<p class="ui message">
        要想查看统计数据，需要先开启统计功能，<a :href="'/servers/server/settings/stat?serverId=' + serverId">[点击这里]</a>修改配置。
    </p>
    {$else}
    <h4>操作系统排行<span class="small grey">（按月）</span></h4>
    <div class="chart-box" id="system-chart"></div>

    <h4>浏览器排行<span class="small grey">（按月）</span></h4>
    <div class="chart-box" id="browser-chart"></div>
    {$end}
</div>